package com.example.tactics.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * description : 数据调用的实现方法
 * author :kang
 * create :2021-10-22 19:22:00
 */
@Service
@Slf4j
public class ExcelService {

    @Autowired
    private ExcelTactics excelTactics;

    public void select(String excel) {
        log.info("excel param value is {}" , excel);
        Excelhandle excelhandle = excelTactics.getExcelhandle(excel);
        excelhandle.deriveExcel();
    }
}
